package com.tangyh.basic.base.constant;

import java.io.File;

/**
 * 通用字符串,如果不存在常量，可以根据继承该接口
 *
 * @version V1.0
 * @author: Sidon
 * @createTime: 2021-06-03 16:41
 * Copyright (C)2021-2021 福建省金柠网络科技有限公司. All rights reserved.
 */

public interface StringPool {

    String AMPERSAND = "&";
    String AND = "and";
    String ASTERISK = "*";
    String AT = "@";
    String BACK_SLASH = "\\";
    String BACKTICK = "`";
    String COLON = ":";
    String COMMA = ",";
    String CRLF = "\r\n";
    String DASH = "-";
    String DEFAULT_PLACE_HOLDER = "####";
    String DOLLAR = "$";
    String DOLLAR_LEFT_BRACE = "${";
    String DOT = ".";
    String DOT_CLASS = ".class";
    String DOT_JAVA = ".java";
    String DOT_NEWLINE = ",\n";
    String DOT_XML = ".xml";
    String DOTDOT = "..";
    String EMPTY = "";
    String EQUALS = "=";
    String EXCLAMATION_MARK = "!";
    String FALSE = "false";
    String HASH = "#";
    String HASH_LEFT_BRACE = "#{";
    String HAT = "^";
    String HTML_AMP = "&amp";
    String HTML_GT = "&gt;";
    String HTML_LT = "&lt;";
    String HTML_NBSP = "&nbsp;";
    String HTML_QUOTE = "&quot;";
    String ISO_8859_1 = "ISO-8859-1";
    String JPG_EXT = "jpg";
    String JPG_HEX = "ff";
    String JSON = "JSON";
    String LEFT_BRACE = "{";
    String LEFT_BRACKET = "(";
    String LEFT_CHEV = "<";
    String LEFT_SQ_BRACKET = "[";
    String N = "n";
    String NEWLINE = "\n";
    String NO = "no";
    String NULL = "null";
    String OFF = "off";
    String ON = "on";
    String ONE = "1";
    String PERCENT = "%";
    String PIPE = "|";
    String PLUS = "+";
    String PNG_EXT = "png";
    String PNG_HEX = "89";
    String QUESTION_MARK = "?";
    String QUOTE = "\"";
    String RETURN = "\r";
    String RIGHT_BRACE = "}";
    String RIGHT_BRACKET = ")";
    String RIGHT_CHEV = ">";
    String RIGHT_SQ_BRACKET = "]";
    String SEMICOLON = ";";
    String SINGLE_QUOTE = "'";
    String SLASH = "/";
    String SPACE = " ";
    String STAR = ASTERISK;
    String TAB = "\t";
    String TILDA = "~";
    String TMP = "tmp";
    String TRUE = "true";
    String UNDERSCORE = "_";
    String US_ASCII = "US-ASCII";
    String UTF_8 = "UTF-8";
    String Y = "y";
    String YES = "yes";
    String ZERO = "0";

    /**
     * 附件格式
     */
    String FILE_XLS = "xls";
    String FILE_XLSX = "xlsx";
    String FILE_PDF = "pdf";
    String FILE_XLS_SUFFIX = ".xls";
    String FILE_XLSX_SUFFIX = ".xlsx";
    String FILE_PDF_SUFFIX = ".pdf";


    /**
     * 请求头信息
     */
    String HEADER_AUTHORIZATION = "Authorization";


    /**
     * Http请求格式
     */
    String HTTP_JSON = "application/json; charset=utf-8";
    String HTTP_FORM = "application/x-www-form-urlencoded; charset=utf-8";

    /**
     * Http请求Scheme
     */

    String HTTP = "http";
    String HTTPS = "https";


    /**
     * 系统名
     */
    String OS_NAME = System.getProperty("os.name");

    /**
     * Java版本
     */
    String JAVA_VERSION = System.getProperty("java.version");

    /**
     * 系统相关的换行符
     */
    String LINE_SEPARATOR = System.getProperty("line.separator");

    /**
     * 系统相关的文件路径分隔符 \或/
     */
    String FILE_SEPARATOR = File.separator;
}
